package com.example.todolist.entity;

import com.baoming.myatis.annotation.Idtype;
import com.baoming.myatis.annotation.TableId;
import com.baoming.myatis.annotation.TableName;
import londok.Data;

@Data
@TableName("todo")
public class Todo {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String title;
    private Boolean completed = false;
    private Long userId;
}
